/*
 * Copyright (c) Created by T C L on 2019.7.9.
 */

package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.pos.model.CardReturnEntity;
import cn.mumzone.pos.model.ReturnEntity;

public interface TimesCardReturnContract {

    interface Presenter {
        void requestReturnCardDetail(String id, String valueOf, String valueOf1, String goodsId, String orderCode);

        void goReturnCard(String id, String price, String ￥, String goodsId, String orderCode, String ￥1);

        void initEvent();

        void destroy();
    }

    interface View {
        void setReturnCardDetailData(CardReturnEntity cardReturnEntity);

        void onReturnSuccess(List<ReturnEntity> returnEntities);

        void onReturnFailed(String errorMsg);

        void setRealReturnMoney(String realMoney);

        void showUpdateReturnAmount();

        void goAuthView();

    }
}
